package com.study.test.factory.abstrace;

public class SGFarm implements Farm {
    @Override
    public Animal newAnimal() {
        return new Cattle();
    }

    @Override
    public Plant newPlant() {
        return new Vegetable();
    }
}
